<#assign pojo=oneToManyPojo.getOne()>
<#assign many=oneToManyPojo.getMany()>
<#assign ones=oneToManyPojo.getOnes()>
<#assign fields=pojo.getFilterdPojoFields()>
<#assign declarationName = pojo.importType(pojo.getDeclarationName())>
<#assign declarationNameFirstLetterLower = pojo.importType(pojo.getDeclarationNameFirstLetterLower())>
<#assign realPackageAndClassPath = "${pojo.getRealPackageAndClassPath()}">
<#assign masterid = pojo.getDeclarationNameFirstLetterLower()+"Id">
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {RouterModule} from '@angular/router';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';

import {NgZorroAntdModule} from 'ng-zorro-antd';

import {${declarationName}Component} from './${declarationNameFirstLetterLower}.component';
import {${declarationNameFirstLetterLower}Routes} from './${declarationNameFirstLetterLower}.routes';
import {${declarationName}IndexComponent} from './views/${declarationNameFirstLetterLower}-index/${declarationNameFirstLetterLower}-index.component';
import {${declarationName}Service} from './services/${declarationNameFirstLetterLower}.service';
import {${declarationName}FilterComponent} from './components/${declarationNameFirstLetterLower}-filter/${declarationNameFirstLetterLower}-filter.component';
import {${declarationName}GridComponent} from './components/${declarationNameFirstLetterLower}-grid/${declarationNameFirstLetterLower}-grid.component';
import {${declarationName}FormComponent} from './components/${declarationNameFirstLetterLower}-form/${declarationNameFirstLetterLower}-form.component';

@NgModule({
  imports: [
    CommonModule,
    NgZorroAntdModule,
    ReactiveFormsModule,
    FormsModule,
    RouterModule.forChild(${declarationNameFirstLetterLower}Routes)
  ],
  providers: [
    ${declarationName}Service
  ],
  declarations: [${declarationName}Component, ${declarationName}IndexComponent, ${declarationName}FilterComponent, ${declarationName}GridComponent, ${declarationName}FormComponent]
})
export class ${declarationName}Module {
}
